<?php
/* @var $this MeetgiveController */


?>


	<tr>
		<td class="pl15">
			<?php echo CHtml::checkBox('id[]','',array('class'=>'chk','onclick'=>'CheckList("ids[]","id[]")','value'=>$data->zcr_id))?>
			<span><?php echo mb_substr($data->zcr_title,0,12,'utf8')?></span>
		</td>
		<td width="8%"><?php echo count($data->discount_product)?></td>
		<td width="16%"><a class="c_06c" href="javascript:" title=""><?php echo CHtml::link(mb_substr($data->company->zc_name,0,20,'utf8'),$data->company->domain,array('class'=>''))?></a></td>
		<td width="13%">
				<?php if($data->zcr_start_time>time()){
							echo '<span class="c_green3">未开始</span>';
						}elseif($data->zcr_end_time<time()){
							echo '<span class="c_999">已结束</span>';
						}else{
							if($data->zcr_status==1){
								echo '<span class="c_f60">正在进行</span>';
							}elseif($data->zcr_status==2){
								echo '<span class="c_999">已结束</span>';
							}
						}
				 ?>
		</td>
		<td width="30%"><?php echo date('Y-m-d H:i',$data->zcr_start_time)?> - <?php echo date('Y-m-d H:i',$data->zcr_end_time)?></td>
		<td class="operate" width="12%">
			<?php echo CHtml::link(Yii::t('cmp','Delete'),'javascript:',array('class'=>'c_06c','onclick'=>'return art_del_confirm("/manage/discount/delete/id/'.$data->zcr_id.'","你确定要删除这条信息吗？")'))?>
		</td>
	</tr>

